﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 行政区划表
    /// </summary>
    [Table("Area")]
    public class Model_Area : Model_Base
    {
        [Column("ID")]
        [Key]
        [Required]        
        public string ID { get; set; }

        public string AreaName { get; set; }
        /// <summary>
        /// 归属城市
        /// </summary>        
        public string CityID { get; set; }        
        public string AreaCode { get; set; }
    }
}
